package com.csi.okr.mobile.common.entity;

import java.math.BigDecimal;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 
 * OKR变更申请_KR（关键结果）表 实体类
 * 
 */
@Entity
@Table(name = "T_OKR_APPLY_KEYRESULTS", schema = "PSGIS")
public class TOkrApplyKeyresults implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	
	private String krApplyUuid;
	private String OApplyUuid;
	private String OUniqueIdCode;
	private String krUniqueIdCode;
	private String krCode;
	private String krDefinition;
	private String actionPlan;
	private BigDecimal isDel;
	private BigDecimal isAdd;

	public TOkrApplyKeyresults() {
	}

	public TOkrApplyKeyresults(String krApplyUuid) {
		this.krApplyUuid = krApplyUuid;
	}

	public TOkrApplyKeyresults(String krApplyUuid, String OApplyUuid, String OUniqueIdCode, String krUniqueIdCode,
			String krCode, String krDefinition, String actionPlan, BigDecimal isDel, BigDecimal isAdd) {
		this.krApplyUuid = krApplyUuid;
		this.OApplyUuid = OApplyUuid;
		this.OUniqueIdCode = OUniqueIdCode;
		this.krUniqueIdCode = krUniqueIdCode;
		this.krCode = krCode;
		this.krDefinition = krDefinition;
		this.actionPlan = actionPlan;
		this.isDel = isDel;
		this.isAdd = isAdd;
	}

	@Id
	@Column(name = "KR_APPLY_UUID", unique = true, nullable = false, length = 32)
	public String getKrApplyUuid() {
		return this.krApplyUuid;
	}

	public void setKrApplyUuid(String krApplyUuid) {
		this.krApplyUuid = krApplyUuid;
	}

	@Column(name = "O_APPLY_UUID", length = 32)
	public String getOApplyUuid() {
		return this.OApplyUuid;
	}

	public void setOApplyUuid(String OApplyUuid) {
		this.OApplyUuid = OApplyUuid;
	}

	@Column(name = "O_UNIQUE_ID_CODE", length = 20)
	public String getOUniqueIdCode() {
		return this.OUniqueIdCode;
	}

	public void setOUniqueIdCode(String OUniqueIdCode) {
		this.OUniqueIdCode = OUniqueIdCode;
	}

	@Column(name = "KR_UNIQUE_ID_CODE", length = 20)
	public String getKrUniqueIdCode() {
		return this.krUniqueIdCode;
	}

	public void setKrUniqueIdCode(String krUniqueIdCode) {
		this.krUniqueIdCode = krUniqueIdCode;
	}

	@Column(name = "KR_CODE", length = 2)
	public String getKrCode() {
		return this.krCode;
	}

	public void setKrCode(String krCode) {
		this.krCode = krCode;
	}

	@Column(name = "KR_DEFINITION", length = 256)
	public String getKrDefinition() {
		return this.krDefinition;
	}

	public void setKrDefinition(String krDefinition) {
		this.krDefinition = krDefinition;
	}

	@Column(name = "ACTION_PLAN", length = 512)
	public String getActionPlan() {
		return this.actionPlan;
	}

	public void setActionPlan(String actionPlan) {
		this.actionPlan = actionPlan;
	}

	@Column(name = "IS_DEL", precision = 22, scale = 0)
	public BigDecimal getIsDel() {
		return this.isDel;
	}

	public void setIsDel(BigDecimal isDel) {
		this.isDel = isDel;
	}

	@Column(name = "IS_ADD", precision = 22, scale = 0)
	public BigDecimal getIsAdd() {
		return this.isAdd;
	}

	public void setIsAdd(BigDecimal isAdd) {
		this.isAdd = isAdd;
	}

}
